﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AMS.Chess.CommonLayer
{
    public interface IChessPieceFactory
    {
        APawn CreatePawn(AChessBoard board, ChessColor color);
        AKnight CreateKnight(AChessBoard board, ChessColor color);
        ABishop CreateBishop(AChessBoard board, ChessColor color);
        ARook CreateRook(AChessBoard board, ChessColor color);
        AQueen CreateQueen(AChessBoard board, ChessColor color);
        AKing CreateKing(AChessBoard board, ChessColor color);

        AChessPiece CreateChessPiece(Type t, AChessBoard board, ChessColor color);
    }
}
